using Foreglance.MVP.Delegates;
using Foreglance.MVP.Presenters;

namespace Foreglance.MVP.Views
{
    public interface IMediator
    {
        void AddView(IViewPresenter viewPresenter);
        T GetView<T>();
        void Init();
        event ObjectEventHandler<IView> OnViewAdded;
        event ActionEventHandler OnActivate;
        void Activate();
    }
}